/**
 * Headings
 * -------------------------------------------------------------------------- */

.vp-doc h1,
.vp-doc h2,
.vp-doc h3,
.vp-doc h4,
.vp-doc h5,
.vp-doc h6 {
    position: relative;
    font-weight: 600;
    outline: none;
}

.vp-doc h1 {
    letter-spacing: -0.02em;
    line-height: 40px;
    font-size: 28px;
}

.vp-doc h2 {
    margin: 48px 0 16px;
    border-top: 1px solid var(--vp-c-divider-light);
    padding-top: 24px;
    letter-spacing: -0.02em;
    line-height: 32px;
    font-size: 24px;
}

.vp-doc h3 {
    margin: 32px 0 0;
    letter-spacing: -0.01em;
    line-height: 28px;
    font-size: 20px;
}

.vp-doc .header-anchor {
    float: left;
    margin-left: -0.87em;
    padding-right: 0.23em;
    font-weight: 500;
    opacity: 0;
    transition: color 0.25s, opacity 0.25s;
}

.vp-doc h1:hover .header-anchor,
.vp-doc h1 .header-anchor:focus,
.vp-doc h2:hover .header-anchor,
.vp-doc h2 .header-anchor:focus,
.vp-doc h3:hover .header-anchor,
.vp-doc h3 .header-anchor:focus,
.vp-doc h4:hover .header-anchor,
.vp-doc h4 .header-anchor:focus,
.vp-doc h5:hover .header-anchor,
.vp-doc h5 .header-anchor:focus,
.vp-doc h6:hover .header-anchor,
.vp-doc h6 .header-anchor:focus {
    opacity: 1;
}

@media (min-width: 768px) {
    .vp-doc h1 {
        letter-spacing: -0.02em;
        line-height: 40px;
        font-size: 32px;
    }
}

/**
 * Paragraph and inline elements
 * -------------------------------------------------------------------------- */

.vp-doc p,
.vp-doc summary {
    margin: 16px 0;
}

.vp-doc p {
    line-height: 28px;
}

.vp-doc blockquote {
    margin: 16px 0;
    border-left: 2px solid var(--vp-c-divider);
    padding-left: 16px;
    transition: border-color 0.5s;
}

.vp-doc blockquote > p {
    margin: 0;
    font-size: 16px;
    color: var(--vp-c-text-2);
    transition: color 0.5s;
}

.vp-doc a {
    font-weight: 500;
    color: var(--vp-c-brand);
    text-decoration-style: dotted;
    transition: color 0.25s;
}

.vp-doc a:hover {
    color: var(--vp-c-brand-dark);
}

.vp-doc strong {
    font-weight: 600;
}

/**
 * Lists
 * -------------------------------------------------------------------------- */

/* .vp-doc ul,
.vp-doc ol {
    padding-left: 1.25rem;
    margin: 16px 0;
} */

/* .vp-doc ul {
  list-style: disc;
} */

/* .vp-doc ol {
    list-style: decimal;
} */

/* .vp-doc li + li {
    margin-top: 8px;
} */

/* .vp-doc li > ol,
.vp-doc li > ul {
    margin: 8px 0 0;
} */

/**
 * Table
 * -------------------------------------------------------------------------- */

.vp-doc table {
    display: block;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
}

.vp-doc tr {
    border-top: 1px solid var(--vp-c-divider);
    transition: background-color 0.5s;
}

.vp-doc tr:nth-child(2n) {
    background-color: var(--vp-c-bg-soft);
}

.vp-doc th,
.vp-doc td {
    border: 1px solid var(--vp-c-divider);
    padding: 12px 16px;
}

.vp-doc th {
    font-size: 16px;
    font-weight: 600;
    background-color: var(--vp-c-white-soft);
}

.dark .vp-doc th {
    background-color: var(--vp-c-black);
}

/**
 * Decorational elements
 * -------------------------------------------------------------------------- */

.vp-doc hr {
    margin: 16px 0;
    border: none;
    border-top: 1px solid var(--vp-c-divider-light);
}

/**
 * Custom Block
 * -------------------------------------------------------------------------- */

.vp-doc .custom-block {
    margin: 16px 0;
}

.vp-doc .custom-block p {
    margin: 8px 0;
    line-height: 24px;
}

.vp-doc .custom-block p:first-child {
    margin: 0;
}

.vp-doc .custom-block a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.25s;
}

.vp-doc .custom-block a:hover {
    opacity: 0.6;
}

.vp-doc .custom-block code {
    font-size: var(--vp-custom-block-code-font-size);
    font-weight: 700;
    color: inherit;
}

.vp-doc .custom-block div[class*='language-'] {
    margin: 8px 0;
}

.vp-doc .custom-block div[class*='language-'] code {
    font-weight: 400;
    background-color: transparent;
}

/**
 * Code
 * -------------------------------------------------------------------------- */

/* inline code */
.vp-doc :not(pre, h1, h2, h3, h4, h5, h6) > code {
    font-size: var(--vp-code-font-size);
}

.vp-doc :not(pre) > code {
    border-radius: 4px;
    padding: 3px 6px;
    color: var(--vp-c-text-code);
    background-color: var(--vp-c-bg-mute);
    transition: color 0.5s, background-color 0.5s;
}

.vp-doc h1 > code,
.vp-doc h2 > code,
.vp-doc h3 > code {
    font-size: 0.9em;
}

.vp-doc a > code {
    color: var(--vp-c-brand);
    transition: color 0.25s;
}

.vp-doc a:hover > code {
    color: var(--vp-c-brand-dark);
}

.vp-doc div[class*='language-'] {
    position: relative;
    margin: 16px -24px;
    background-color: var(--vp-code-block-bg);
    overflow-x: auto;
    transition: background-color 0.5s;
}

@media (min-width: 640px) {
    .vp-doc div[class*='language-'] {
        border-radius: 8px;
        margin: 16px 0;
    }
}

@media (max-width: 639px) {
    .vp-doc li div[class*='language-'] {
        border-radius: 8px 0 0 8px;
    }
}

.vp-doc div[class*='language-'] + div[class*='language-'],
.vp-doc div[class$='-api'] + div[class*='language-'],
.vp-doc div[class*='language-'] + div[class$='-api'] > div[class*='language-'] {
    margin-top: -8px;
}

.vp-doc [class*='language-'] pre,
.vp-doc [class*='language-'] code {
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

.vp-doc [class*='language-'] pre {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 16px 0;
    background: transparent;
    overflow-x: auto;
}

.vp-doc [class*='language-'] code {
    display: block;
    padding: 0 24px;
    width: fit-content;
    min-width: 100%;
    max-height: 560px;
    line-height: var(--vp-code-line-height);
    font-size: var(--vp-code-font-size);
    color: var(--vp-code-block-color);
    transition: color 0.5s;
}

.vp-doc [class*='language-'] code .highlighted {
    background-color: var(--vp-code-line-highlight-color);
    transition: background-color 0.5s;
    margin: 0 -24px;
    padding: 0 24px;
    width: calc(100% + 2 * 24px);
    display: inline-block;
}

.vp-doc div[class*='language-'].line-numbers-mode {
    padding-left: 32px;
}

.vp-doc .line-numbers-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    border-right: 1px solid var(--vp-c-divider-dark-2);
    padding-top: 16px;
    width: 32px;
    text-align: center;
    font-family: var(--vp-font-family-mono);
    line-height: var(--vp-code-line-height);
    font-size: var(--vp-code-font-size);
    color: var(--vp-code-line-number-color);
    transition: border-color 0.5s, color 0.5s;
}

.vp-doc [class*='language-'] > button.copy {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    display: block;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    background-color: var(--vp-code-block-bg);
    opacity: 0;
    cursor: pointer;
    background-image: var(--vp-icon-copy);
    background-position: 50%;
    background-size: 20px;
    background-repeat: no-repeat;
    transition: opacity 0.4s;
}

.vp-doc [class*='language-']:hover > button.copy,
.vp-doc [class*='language-'] > button.copy:focus {
    opacity: 1;
}

.vp-doc [class*='language-'] > button.copy:hover {
    background-color: var(--vp-code-copy-code-hover-bg);
}

.vp-doc [class*='language-'] > button.copy.copied,
.vp-doc [class*='language-'] > button.copy:hover.copied {
    border-radius: 0 4px 4px 0;
    background-color: var(--vp-code-copy-code-hover-bg);
    background-image: var(--vp-icon-copied);
}

.vp-doc [class*='language-'] > button.copy.copied::before,
.vp-doc [class*='language-'] > button.copy:hover.copied::before {
    position: relative;
    left: -65px;
    display: block;
    border-radius: 4px 0 0 4px;
    padding-top: 8px;
    width: 64px;
    height: 40px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--vp-code-copy-code-active-text);
    background-color: var(--vp-code-copy-code-hover-bg);
    white-space: nowrap;
    content: 'Copied';
}

.vp-doc [class*='language-'] > span.lang {
    position: absolute;
    top: 6px;
    right: 12px;
    z-index: 2;
    font-size: 12px;
    font-weight: 500;
    color: var(--vp-c-text-dark-3);
    transition: color 0.4s, opacity 0.4s;
}

.vp-doc [class*='language-']:hover > button.copy + span.lang,
.vp-doc [class*='language-'] > button.copy:focus + span.lang {
    opacity: 0;
}

/**
 * Component: Team
 * -------------------------------------------------------------------------- */

.vp-doc .VPTeamMembers {
    margin-top: 24px;
}

.vp-doc .VPTeamMembers.small.count-1 .container {
    margin: 0 !important;
    max-width: calc((100% - 24px) / 2) !important;
}

.vp-doc .VPTeamMembers.small.count-2 .container,
.vp-doc .VPTeamMembers.small.count-3 .container {
    max-width: 100% !important;
}

.vp-doc .VPTeamMembers.medium.count-1 .container {
    margin: 0 !important;
    max-width: calc((100% - 24px) / 2) !important;
}
